<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
    <head>
        <title>Thymeleaf tutorial - Exercise 5: escaped and unescaped text</title>
        <link rel="stylesheet" href="../../../css/main-static.css" th:href="@{/css/main.css}" />
        <meta charset="utf-8" />
    </head>
    <body>
        <p>
            This exercise introduces concepts from
            <a href="http://www.thymeleaf.org/doc/html/Using-Thymeleaf.html#more-on-texts-and-variables"
               title="Open Thymeleaf manual" target="_blank">chapter 3 - section 2 of the Using Thymeleaf</a>
            manual.
        </p>
        <ol>
            <li>
                A fragment of HTML code has been set into the context model as a <kbd>String</kbd> with variable name <b>html</b>.
                You must show it HTML-escaped in the first <kbd>div</kbd> and unescaped in the second <kbd>div</kbd>.
            </li>
            <li>
                You can check the proposed solution by pressing the <b>Show solution</b> button.
            </li>
        </ol>
    </body>
</html>
